def print_multiplication_table(n):  
    for i in range(1, n+1):  
        for j in range(1, n+1):  
            print(f"{i}*{j}={i*j}", end='\t')    
        print()   
n = int(input("请输入一个整数n: "))   
print_multiplication_table(n)
